import { handleMessage } from '@/utils/globalEvent';

// promise抛出异常
window.onunhandledrejection = event => handleMessage(event.reason.message, 'error');
